package com.jsptpd.smartauth.common.util;

import java.util.Map;

public class SysData {
    /**
     * 状态---正常
     */
    public final static Integer STATUS_NORMAL = 101001;
    /**
     * 状态---删除
     */
    public final static Integer STATUS_DELETE = 101003;

    /**
     * 系统默认密码
     */
    public final static String DEFAULT_PASSWORD = "111111";

    /**
     * 数据库字段是否为空
     */
    public final static String RULE_NAME_NULLABLE = "no";
    /**
     * 数据库字段是否唯一
     */
    public static String RULE_NAME_UNIQUE = "checkUnique";

    /**
     * excel 中的模板数据错误
     **/
    public static String ERROR_EXCEL_NULL = "excel中数据为空!<br>";
    public static String ERROR_EXCEL_COLUMN_NOT_EQUAL = "xml列数与excel列数不相符，请检查!<br>";
    public static String ERROR_EXCEL_DATA_TYPE = "数据类型错误";

    /**
     * 商品下架
     */
    public final static Integer GOODS_REVOKE = 105012001;

    /**
     * 日志管理
     */
    public final static int LOGIN = 117001;//登录
    public final static int DropOut  = 117002;//退出
    public final static int ADD = 117003;//新增
    public final static int DELETE = 117004;//删除
    public final static int UPDATE = 117005;//修改
    public final static int PWDRESET = 117006;//密码重置
    public final static int PWDMODIFY = 117007;//密码修改
    public final static int ACCOUNTSTART = 117008;//账号启用
    public final static int ACCOUNTFREEZE = 117009;//账号冻结
    public final static int ALLOTROLE = 1170010;//用户分配角色
    public final static int ALOOTMUNU = 1170011;//角色分配菜单

    public static Map<Integer, String> DIC_TYPE;

    /**
     * 审阅状态 -- 未审阅
     */
    public final static Integer READSTATUS_NORMAL = 105001;
    /**
     * 审阅状态 -- 已审阅
     */
    public final static Integer READSTATUS_DELETE = 105002;



}
